1,858 questions with Windows Forms tags

Sort by: Updated
0 answers

How to reproduce the UI control from mock-up using wpf?

Hi Team I have a mock-up and want to reproduce it using wpf controls given by Microsoft forms in windows. Below is my current code and need some adjustment, as well screen shot of the mock-up want to produce using wpf ui controls. <UserControl…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-28T16:45:17.65+00:00
Gcobani Mkontwana 40 Reputation points
1 answer

RichTextBox Details

I need more information about the RichTextBox in winforms/dotnet 8/C# 12/VS2022. Specifically, when I create custom RTF content based on the v1.5 spec and try to insert it (as selection or entire document), the RichTextBox strips out all of my custom…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
commented 2024-05-28T09:39:43.0066667+00:00
Jiale Xue - MSFT 37,131 Reputation points Microsoft Vendor
3 answers

Rename a form in Visual Studio 2022

Hello, trying to rename a form. The guidance here appears to still be good but even though I renamed the form in solution explorer, told VS2022 to rename it everywhere, and set the startup object in project properties, I still get the error,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
asked 2023-03-27T21:23:08.4866667+00:00
Steev43230 5 Reputation points
answered 2024-05-27T23:01:11.3866667+00:00
Tuấn Anh 0 Reputation points
1 answer One of the answers was accepted by the question author.

DataGridView column alignment header vs data

In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,609 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 461 Reputation points
commented 2024-05-27T21:00:43.62+00:00
KOZ6.0 5,295 Reputation points
1 answer One of the answers was accepted by the question author.

Need help with DataGridViewComboBox and selecting the next control

I need some help to achieve some functionality in a DataGridView. This Windows app is written in C# using the Windows Form App (.NET Framework). The DataGridView uses a mix of DataGridViewTextBoxColumn & DataGridViewComboBoxColumn. The need is to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-24T17:30:04.13+00:00
Pat Hanks 60 Reputation points
commented 2024-05-27T17:43:07.8366667+00:00
Pat Hanks 60 Reputation points
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
commented 2024-05-27T08:23:46.0933333+00:00
Minxin Yu 10,436 Reputation points Microsoft Vendor
1 answer

How to get specific image coordinates from within bitmap

hi Is there a special (Library/Class) for such an achievement? which can find and return the coordinates by giving a symbol of a specific image from within the larger image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,450 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,609 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-05-27T03:36:02.4133333+00:00
Jiachen Li-MSFT 27,241 Reputation points Microsoft Vendor
1 answer

What is the Maximum size of a EventMessage or Event Data in Event Viewer. For Security channel and other channels System, Direcory Service.

What is the maximum size of a single event in Event viewer? Event message maximum length and a Event's size in kb? Does it vary for Security channel and System/ Directory Server channels?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,863 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,749 questions
asked 2024-05-15T10:27:43.9533333+00:00
Bakya ABL 21 Reputation points
edited the question 2024-05-24T07:11:53.7566667+00:00
Roy Li - MSFT 32,486 Reputation points Microsoft Vendor
0 answers

Issue Connecting With An Azure SQL Database from .NET WinForms Application

I'm having an issue connecting to an Azure SQL database from a WinForms application after it has been packaged using InstallShield. The database exists on a virtual network and I'm using a virtual network gateway point-to-site connection. The database is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Azure SQL Database
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,206 questions
asked 2024-05-22T16:37:29.1633333+00:00
Tom 1 Reputation point
commented 2024-05-23T17:32:23.2866667+00:00
Tom 1 Reputation point
1 answer One of the answers was accepted by the question author.

How to bring app to front, if already open?

How to bring the app to front, if already open? My app is Windows Form application c#

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-22T13:25:34.1033333+00:00
Hussnain Fareed 20 Reputation points
edited a comment 2024-05-23T14:05:09.5666667+00:00
KOZ6.0 5,295 Reputation points
1 answer One of the answers was accepted by the question author.

How to Joint elements from within the array with specified Step and the array result LINQ

hi Dim ByStep as integer=3 Dim MyArray as Integer()={2,5,4,0,0,4,24,6,5,2,5} need Result As String()={"254","004","2465","25"}

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,609 questions
asked 2024-05-22T16:00:56.13+00:00
Mansour_Dalir 1,676 Reputation points
accepted 2024-05-22T18:52:06.3566667+00:00
Mansour_Dalir 1,676 Reputation points
0 answers

Every time I open File location it updates LastAccessTime Since I updated to the newest windows 10 version, but wasnt before it

I noticed that after the recent update for windows 10 22H2(5/18/2024) I noticed that every time i opened a file location lets say CS2 folder or PureVPN File location it updated the LastAccessTime for the Files of that Application that was in the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,825 questions
asked 2024-05-20T11:09:25.1766667+00:00
LuzuVlogs Gamer 0 Reputation points
edited a comment 2024-05-22T10:35:47.0666667+00:00
Viorel 113.2K Reputation points
2 answers One of the answers was accepted by the question author.

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine

I am having Windows 64 Bit os build 19043.1826 21H1, i have office 21 64 bit on this pc, but when i want to open an xls file i am getting the above error, if i build application 32bit it open file correctly, but if i make it 64 bit i can not install…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
asked 2022-07-25T18:21:25.197+00:00
Sushil Agarwal 381 Reputation points
answered 2024-05-22T06:54:05.9833333+00:00
vinod gaikwad 0 Reputation points
1 answer

manage Exchange Mailbox permission using C# windows application

hi folks, i would like to design a windows application which will do below. is it possible to develop using C# ? Connect to Exchange Online. Add/Remove mailbox fullaccess. Add/Remove SendAs or Sendonbehalf access. Set mailbox forwarding Thanks …

Microsoft Exchange Online
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-17T12:23:46.4633333+00:00
Meher, Shankar (CORP) 0 Reputation points
commented 2024-05-21T09:39:34.01+00:00
Jiale Xue - MSFT 37,131 Reputation points Microsoft Vendor
0 answers

root is missing error, while making frontend using window form application in VS 2022 using C#

Root is missing error, while making frontend using window form application in VS 2022 using C#. How to troubleshoot this issue.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-20T04:10:28.07+00:00
DevNinja 0 Reputation points
edited a comment 2024-05-20T06:29:14.73+00:00
Tianyu Sun-MSFT 27,976 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to add the reference system.web.dll ?

I am unable add the reference to system.web.dll ? can anyone suggest me to add this reference. Thanks in advance

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2023-01-24T11:31:25.1666667+00:00
Dineshkumar.S 451 Reputation points
commented 2024-05-20T01:40:02.0333333+00:00
Dan 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to programmatically display the Windows taskbar using C#

I would like to know what C# code/instructions are necessary to make the Windows taskbar appear so that I can use a specific item on it. Can someone provide a concise example or resource to help me accomplish this? Thank you.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,825 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,450 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-16T13:35:04.7966667+00:00
Thad T 26 Reputation points
accepted 2024-05-19T23:47:12.7933333+00:00
Thad T 26 Reputation points
2 answers

How to get the position of NotifyIcon at runtime?

Hi, I want to retrieve the location and size of notifyIcon whenever it be clicked. The purpose is to set the application UI above the notifyIcon like the below photo. Please show me how I can do this with C#. Thank you!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
edited a comment 2024-05-19T17:44:54.82+00:00
KOZ6.0 5,295 Reputation points
0 answers

MS Forms or internet based recruitment document

Hello community, we are an executive search/recruitment company. My former company had integrated MS Forms/Word so that resumes and commentary (assessment comments) could be written and skills or competencies entered/ adjusted. Also the original resume…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
902 questions
asked 2024-05-17T04:43:18.5933333+00:00
Marc Baloch 0 Reputation points
1 answer

I can not see the form any more

Hi When I open the form I get error Timed out while connecting to named pipe. What it mean and how to fix ? Thanks

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,455 questions
asked 2024-05-14T12:54:55.9733333+00:00
William de 116 Reputation points
commented 2024-05-16T19:32:25.08+00:00
Michael Taylor 49,251 Reputation points